﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Yala.Models" namespace="Yala.Models.UserProfiles">
  <class name="UserProfile" table="UserProfiles">
    <id name="Id" column="UserId" type ="System.Guid" />    
    <!--<property name="DisplayName" column="DisplayName" type="string" not-null="false" />-->
    <property name="FirstName" column="FirstName" type="string" not-null="false" />    
    <property name="MiddleName" column="MiddleName" type="string" not-null="false" />    
    <property name="LastName" column="LastName" type="string" not-null="false" />
	  <!--<property name="Email" column="Email" type="string" not-null="false" />-->
    <one-to-one name="User" class="Yala.Models.Users.User"/>
      
  </class>  
</hibernate-mapping>